package com.xjc.business.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 违禁词表
 * @TableName forbidden_words
 */
@TableName(value ="forbidden_words")
@Data
public class ForbiddenWords implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 发布人id
     */
    private Integer publishId;

    /**
     * 类型(0:动态 1:失物 2:聊天)
     */
    private Integer type;

    /**
     * 违禁词
     */
    private String word;

    /**
     * 状态(0:禁用 1:启用)
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}